Help >
Errors and Error Trapping > Compile Time Errors >
Error 458 - END SUB expected
END SUB expected - A SUB block was not terminated with an associated END SUB statement. It's likely you tried to start a new procedure block, without first terminating the current SUB.